package com.yej.aiPolice.model.beans

import java.sql.Timestamp
import java.util.*

class Denews {
    var id = 0
    var conid: Int? = null
    var title: String? = null
    var describe: String? = null
    var titlePic: String? = null
    var date: Timestamp? = null
    var del: Int? = null

    override fun equals(o: Any?): Boolean {
        if (this === o) return true
        if (o == null || javaClass != o.javaClass) return false
        val denews = o as Denews
        return id == denews.id &&
                conid == denews.conid &&
                title == denews.title &&
                describe == denews.describe &&
                titlePic == denews.titlePic &&
                date == denews.date &&
                del == denews.del
    }

    override fun hashCode(): Int {
        return Objects.hash(id, conid, title, describe, titlePic, date, del)
    }
}